﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Web;

namespace MvcApplication1.Models
{
    public class ArticlModel
    {
        public ArticlModel()
        {
            Title = "This is Article title";
            Body = "<p>LEBRON JAMES</p>";
            Date = DateTime.Now;
            Likes = new Collection<LikeModel>();
            Comments = new Collection<CommentItemModel>();
        }
        public string Title { get; set; }
        public string Body { get; set; }
        public DateTime Date { get; set; }
        

        public ICollection<LikeModel> Likes { get; set; }
        public ICollection<CommentItemModel> Comments { get; set; }

    }
}